import numpy as np

def delete_identical_lines(matrix_A: np.ndarray, matrix_B: np.ndarray, method_type) -> np.ndarray:
    if method_type == 1:  # 该方法将矩阵B中，与矩阵A的任何一行重复的行去掉
        B_filtered = matrix_B
        for i in range(matrix_A.shape[0]):
            mask = ~(matrix_A[i, :] == B_filtered).all(axis=1)
            B_filtered = B_filtered[mask]
        return B_filtered
    else:
        pass
